package com.shmn.gongjiajumain.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.shmn.common.utils.PageUtils;
import com.shmn.common.utils.Query;

import com.shmn.gongjiajumain.dao.RepairingJigDao;
import com.shmn.gongjiajumain.entity.RepairingJigEntity;
import com.shmn.gongjiajumain.service.RepairingJigService;


@Service("repairingJigService")
public class RepairingJigServiceImpl extends ServiceImpl<RepairingJigDao, RepairingJigEntity> implements RepairingJigService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<RepairingJigEntity> page = this.page(
                new Query<RepairingJigEntity>().getPage(params),
                new QueryWrapper<RepairingJigEntity>()
        );

        return new PageUtils(page);
    }

}